package com.ys.gulimall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ys.common.utils.PageUtils;
import com.ys.gulimall.product.entity.AttrGroupEntity;
import com.ys.gulimall.product.vo.AttrGroupWithAttrsVo;
import com.ys.gulimall.product.vo.SpuItemAttrGroupVo;

import java.util.List;
import java.util.Map;

/**
 * 属性分组
 *
 * @author yeswater
 * @email ruobairuo@gmail.com
 * @date 2021-07-16 16:28:06
 */
public interface AttrGroupService extends IService<AttrGroupEntity> {
	
	PageUtils queryPage(Map<String, Object> params);
	
	PageUtils queryPage(Map<String, Object> params, Long catelogId);
	
	List<AttrGroupWithAttrsVo> getAttrGroupWithAttrsByCatelogId(Long catelogId);
	
	List<SpuItemAttrGroupVo> getAttrGroupWithAttrsBySpuId(Long spuId, Long catalogId);
}

